<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">
  <link rel="stylesheet" href="css/style.css" />
  <title>MorphChat</title>
</head>

<body>
  <div class="chat-container">
    <header class="chat-header">
      <h1><i class="fas fa-comments"></i> 聊天室</h1>
      <a href="index.html" class="btn">离开房间</a>
    </header>
    <main class="chat-main">
      <div class="chat-sidebar">
        <h3><i class="fas fa-comments"></i> 房间名称:</h3>
        <h2 id="room-name"></h2>
        <h3><i class="fas fa-users"></i> 用户</h3>
        <ul id="users"></ul>
      </div>
      <div class="chat-messages">
        <!-- 消息框结构示意 -->
        <!-- <div class="message">
            <p class="meta">Henry<span>10:10pm</span></p>
            <p class="text">
              Lorem ipsum dolor sit amet consectetur adipisicing elit. Eligendi,
              repudiandae.
            </p>
          </div> -->
      </div>
    </main>
    <div class="chat-form-container">
      <form id="chat-form">
        <input id="msg" type="text" placeholder="Enter Message" required autocomplete="off" />
        <button class="btn"><i class="fas fa-paper-plane"></i> 发送</button>
      </form>
    </div>
  </div>
  <script src="https://cdn.bootcss.com/qs/6.9.4/qs.min.js"></script>
  <script src="/socket.io/socket.io.js"></script>
  <script src="js/main.js"></script>
</body>

</html>